<body>
    <h1>我是头部</h1>
    {% block content%}
      layout
    {% endblock%}
    <h1>我是尾部</h1>
</body>
</html>